package com.shtel.custbehavior.entity;

import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import java.util.Date;

@Table(name = "contactinfo")
public class ContactInfo {

    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11,isKey = true,isAutoIncrement = true)
    private int id;

    @Column(name = "custnum",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String custnum;

    @Column(name = "creditnum",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String creditnum;

    @Column(name = "contacttime",type = MySqlTypeConstant.DATETIME)
    private Date contacttime;

    @Column(name = "contacttype",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String contacttype;

    @Column(name = "contactway",type = MySqlTypeConstant.VARCHAR,length = 255)
    private String contactway;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getCustnum() {
        return custnum;
    }

    public void setCustnum(String custnum) {
        this.custnum = custnum;
    }

    public String getCreditnum() {
        return creditnum;
    }

    public void setCreditnum(String creditnum) {
        this.creditnum = creditnum;
    }

    public Date getContacttime() {
        return contacttime;
    }

    public void setContacttime(Date contacttime) {
        this.contacttime = contacttime;
    }

    public String getContacttype() {
        return contacttype;
    }

    public void setContacttype(String contacttype) {
        this.contacttype = contacttype;
    }

    public String getContactway() {
        return contactway;
    }

    public void setContactway(String contactway) {
        this.contactway = contactway;
    }
}
